package com.example.mallproduct.exceptionHandler;

/**
 * @author guanglin.ma
 * @date 2023-12-04 16:14
 */
public enum BizCodeEnume {

    VALIDATED(1001,"校验错误"),
    OTHER(1002,"其他错误");

    private Integer code;
    private String message;

    BizCodeEnume(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
